HCaptcha\Main B

Total Complexity 77
Dependencies 104
Dependents 5
Total lines 1,274
Lines of code 871
Logical lines of code 162
Comment lines 277
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
load_modules()
D
15
9 491
is_elementor_pro_edit_page()
A
55 8 18
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
csp_headers()
S
51 6 26
get_api_src()
S
50 5 28
print_inline_styles()
S
45 1 80
activate_hcaptcha()
S
62 6 10
whitelist_ip()
S
52 2 31
init_hooks()
S
51 2 27
parse_csp()
S
62 2 11
login_head()
S
63 1 17
declare_wc_compatibility()
S
72 2 5
get_check_site_config_url()
S
69 2 6
get_verify_url()
S
69 2 6
init()
S
67 2 8
get_api_url()
S
69 2 6
merge_csp()
S
63 2 10
prefetch_hcaptcha_dns()
S
69 2 7
is_xml_rpc()
S
79 2 3
force_https()
S
71 1 5
is_pro()
S
82 1 3
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8